Shopglut\showcase\Swatches\Swatches D

Total Complexity 207
Dependencies 2
Dependents 1
Total lines 898
Lines of code 681
Logical lines of code 435
Comment lines 109
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
variation_attribute_custom_html()
D
25
43 139
filters_html()
D
30 33 107
variation_attribute_html_shop_page()
B
37 17 76
inline_css()
A
49 13 26
get_product_swatches()
A
47 12 36
get_attr_term_color_image()
A
50 10 27
shopgs_ajax_add_to_cart()
A
46 9 34
catalog_show_attr_shop_page()
A
55 8 18
enqueue_scripts()
S
51 7 24
get_remove_attr_class()
S
53 7 23
get_attr_term_label()
S
61 7 11
__construct()
S
53 5 19
shortcode_functionality()
S
58 5 15
get_attr_option_by_sorting()
S
51 4 27
label_position_class()
S
61 4 12
get_swatches_position()
S
52 3 26
get_attr_type_by_name()
S
63 4 9
requires_shop_settings()
S
71 3 6
check_theme_compatibility()
S
68 3 7
is_required_page()
S
71 2 6
shop_page_add_to_cart_args()
S
65 2 8
create_slug()
S
64 2 9
get_instance()
S
70 2 7
requires_global_settings()
S
73 1 6
shopgs_ajax_variation_threshold()
S
82 1 3